﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Apex.Common;
using Apex.Common.Base;

namespace Apex.Script.Models
{
    [Flags]
    public enum WeatherType
    {
        Sunny = 0x00,
        Overcast = 0x01,
        Raining = 0x02,
        Snowing = 0x04,
        Windy = 0x08,
        Heatwave = 0x16,
        Freezing = 0x32,
        Optimal = 0x64
    }

    public enum TimeOfDay
    {
        EarlyMorning,
        Morning,
        MidDay,
        Sunset,
        Night
    }


    public class Location : NamedTrackableObject
    {
        public LatLon Position { get; set; }
        public WeatherType Weather { get; set; }
        public TimeOfDay TimeOfDay { get; set; }
        public TimeSpan ActualDate { get; set; }
    }
}
